<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>listDepart.jsp</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</head>
<body>
	<h2>（院系名单）listDepart.jsp</h2>
	<table>
		<tr>
			<th>学院号</th>
			<th>学院</th>
			<th>院长工号</th>
			<th>院长</th>
			<th>性别</th>
			<th colspan="3">操作</th>
		</tr>
		<c:forEach items="${list}" var="depart">
			<tr>
				<td>${depart.departid}</td>
				<td>${depart.name}</td>
				<td>${depart.deanid}</td>
				<td>${depart.deanname}</td>
				<td>${depart.sex }</td>
				<td>
				
				
				<a href="selectOneDepart.do?departid=${depart.departid }">院系详情</a>&nbsp;
				<a href="selectCourseStuentsByDepartid.do?departid=${depart.departid}">院系课程</a></td>
				<td><a href="toUpdateDepart.do?departid=${depart.departid}">修改</a></td>
				<td><a class="delete" href="deleteDepart.do?departid=${depart.departid}"
					onclick="return confirm('你确认要删除该院系全部信息（包括课程）吗?')">删除</a></td>
			</tr>
		</c:forEach>
	</table>
<!-- <a href="insertDeaprtPage.do">添加院系</a> -->
<script type="text/javascript">


</script>
</body>
</html>